package sist.aop.basic;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.FileSystemXmlApplicationContext;

public class AopBasicMain {
	public static void main(String[] args) {
		
		ApplicationContext context=new FileSystemXmlApplicationContext("src/sist/aop/basic/aop.xml");
		Dao dao=(Dao)context.getBean("daoImp");
		dao.insert(10);
		dao.update();
		dao.delete();
		
	}

}
